@charset "utf-8";

body{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
/* 头部 */
header{
    height: 4.4rem;
    line-height: 4.4rem;
    text-align: center;
}
/* 主体内容 */
main{
    flex: 1;
    overflow-y: auto;
    background: url(../img/course-img01.jpg) no-repeat;
    background-size: cover;
    background-position: top center;
    position: relative;
}
main div{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 25%;
    height: 3.6rem;
    border-radius: 20px;
    background-color: #fff;
    position: absolute;
    right: 1.4rem;
    top: 2.8rem;
}
main div span{
    /* width: 40%; */
    line-height: 2.4rem;
    text-align: center;
}
main div span:nth-child(1){
    padding-right: 8%;
    border-right: 1px solid #999;
}

main h3{
    position: absolute;
    bottom: 25rem;
    left: 50%;
    transform: translate(-50%);
    color: #fff;
    font-size: 0px;
    opacity: 0;
    animation: jump 1s forwards;
}

@keyframes jump{
    0%{
        bottom: 25rem;
        opacity: 0;
        font-size: 0;
    }

    80%{
        bottom: 7rem;
        opacity: 0.7;
        font-size: 3.6rem;
    }

    100%{
        bottom: 12rem;
        opacity: 1;
        font-size: 4.8rem;

    }
}
